package com.ffox.mapper;

import com.ffox.entity.Clazz;
import com.ffox.entity.StudentInformation;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserTeacherSubjectMapper {

    @MapKey("classId")
    public List<Map<String, Object>> getClassByUserNum(String userNum);
//    根据班级id查询student_information表的class_id
    public List<StudentInformation> getStudentsByClassId(Long classId);
}
